package cn.com.lms.business.exam.persistence.entity;

import com.bnzj.core.persistence.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

@Getter
@Setter
@Entity
@Table(name = "bnz_exam_question_subject_fill")
@Schema(description = "填空题")
public class QuestionSubjectFill extends BaseEntity {


    @Schema(description = "试题ID")
    @Column(name = "subject_id")
    private Long subjectId;

    @Schema(description = "答案项")
    @Column(name = "serial_id")
    private Integer serialId;

    @Schema(description = "答案  json逗号隔开")
    private String answer;

    @Schema(description = "是否删除  0-未删除 1-已删除")
    @Column(name = "is_delete")
    private Boolean isDelete;

    @Transient
    private List<String> answerList;


}
